package com.example.springbootrediscache;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;

@SpringBootApplication
@EnableCaching
public class SpringBootRedisCache25Application {

    public static void main(String[] args) {
        SpringApplication.run(SpringBootRedisCache25Application.class, args);
        System.out.println("http://localhost:8080/api/health");
        System.out.println("添加示例：http://localhost:8080/user/add/6/f");
        System.out.println("查询示例：http://localhost:8080/user/query/6");
        System.out.println("更新示例：http://localhost:8080/user/update/6/f1");
        System.out.println("删除示例：http://localhost:8080/user/remove/6");
    }

}
